package com.egao.texasHoldEmPoker.controller;

import com.egao.common.core.annotation.ApiPageParam;
import com.egao.common.core.annotation.OperLog;
import com.egao.common.core.damon.results.PageResult2;
import com.egao.common.core.web.BaseController;
import com.egao.common.core.web.JsonResult;
import com.egao.texasHoldEmPoker.entity.Desk;
import com.egao.texasHoldEmPoker.service.DeskService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;


/**
 *
 * 赌桌
 * @author : Doman
 * @date : 2022-01-26 12:39:26
 * @version ：1.0
 */

@Api(tags = "赌桌")
@RestController
@RequestMapping("/api/nt/texasHoldEmPoker/desk")
public class DeskNtController extends BaseController {

	@Autowired
	private DeskService deskService;

    /**
     * 查询全部赌桌
     */
    @ApiOperation("查询全部赌桌")
    @GetMapping("texasHoldEmPoker")
    public JsonResult texasHoldEmPoker(String poker){
        return deskService.texasHoldEmPoker(poker);
    }

}
